package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.wallet.MallDaoWalletTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商城dao钱包明细表
 */
@Data
public class MallDaoWalletDetailVO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("金额")
    private BigDecimal amount;
    @ApiModelProperty("操作前余额")
    private BigDecimal beforeAmount;
    @ApiModelProperty("操作后余额")
    private BigDecimal afterAmount;
    private MallDaoWalletTypeEnum type;
    @ApiModelProperty("操作类型")
    private String typeTxt;
    @ApiModelProperty("操作备注")
    private String remark;
    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty("增加操作")
    private Boolean isAdd;

}